package com.tencent.iov.cowin.befsale.clue.dao.http.qwSystem.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: jiajia.li
 * @ClassName WxAgenDetailResponse
 * @Description: 应用详情
 * @DateTime: 2022/2/26 17:29
 */
@Data
public class WxAgenDetailResponse implements Serializable {
    private Integer errCode;
    private String errMsg;
    private Integer agentId;
    private String name;
    private String squareLogoUrl;
    private String logoMediaId;
    private String description;
    private Users allowUserInfos;
    private Parties allowParties;
    private Tags allowTags;
    private Integer close;
    private String redirectDomain;
    private Integer reportLocationFlag;
    private Integer isReportEnter;
    private String homeUrl;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Users implements Serializable {
        private static final long serialVersionUID = 8801100463558788565L;
        private List<User> users;
    }

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class User implements Serializable {
        private static final long serialVersionUID = 7287632514385508024L;
        private String userId;
    }
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Parties implements Serializable {
        private List<Integer> partyIds = null;
    }
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Tags implements Serializable {
        private List<Integer> tagIds = null;
    }
}
